home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 682 b | 23 lines | [TEXT/GEOL] |
- Item 6050891 18-Jan-91 14:32PST
-
- From: BERDAHL Amoco Tech, Eric Berdahl,VAR
-
- To: BBSF.DEV Babcock & Brown, Michael Harper,AST
- MACAPP.TECH$ MacApp Technical
-
- ------------------------------------------------------------------------------
-
- Sub: Re: Cloning An Object
-
- Michael,
-
- As a matter of C++ etiquette, it is better to return a TObject* instead of a
- TDerived*. It may be easier to code if you happen to do
- bDerived = aDerived->Clone(), but it isn’t really considered “nice.”
-
- Humbly opinionated,
- Eric Berdahl
- Amoco Technology Company
- AppleLink: BERDAHL
-
-